package com.zan.pattern.facade;

/**
 * @Author Zan
 * @Create 2024-04-26 0:26
 * @Description : 电灯类
 * @ClassName: Light
 */
public class Light {

    // 开灯的功能
    public void on() {
        System.out.println("打开电灯................");
    }

    // 关灯的功能
    public void off() {
        System.out.println("关闭电灯................");
    }
}
